import request from '@/utils/request'

// 查询留样室产品检验记录列表
export function listLYS_Main(query) {
  return request({
    url: '/Laboratory/LYS_Main/list',
    method: 'get',
    params: query
  })
}

// 查询留样室产品检验记录详细
export function getLYS_Main(id) {
  return request({
    url: '/Laboratory/LYS_Main/' + id,
    method: 'get'
  })
}

// 新增留样室产品检验记录
export function addLYS_Main(data) {
  return request({
    url: '/Laboratory/LYS_Main',
    method: 'post',
    data: data
  })
}

// 修改留样室产品检验记录
export function updateLYS_Main(data) {
  return request({
    url: '/Laboratory/LYS_Main',
    method: 'put',
    data: data
  })
}

// 删除留样室产品检验记录
export function delLYS_Main(id) {
  return request({
    url: '/Laboratory/LYS_Main/' + id,
    method: 'delete'
  })
}
